// components/tp_tabs.js
Component({
    /**
     * 组件的属性列表
     */
    properties: {

    },

    /**
     * 组件的初始数据
     */
    data: {
        tabs: [{
                id: 0,
                name: "投票页面",
                img: "/images/tpi_1.png",
                url: "/pages/tp/index"
            },
            {
                id: 1,
                name: "查看排名",
                img: "/images/tpi_2.png",
                url: "/pages/tp_ckpm/index"
            },
            {
                id: 2,
                name: "活动详情",
                img: "/images/tpi_3.png",
                url: "/pages/tp_ckpmxq/index"
            },
        ]

    },

    /**
     * 组件的方法列表
     */
    methods: {

    }
})